package link.xieyu.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 钱包变动记录
 */
@ApiModel(value = "link-xieyu-pojo-AppWalletRecord")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AppWalletRecord implements Serializable {
    public static final String COL_ID = "id";
    public static final String COL_OLD_PRICE = "old_price";
    public static final String COL_NEW_PRICE = "new_price";
    public static final String COL_PRICE = "price";
    public static final String COL_EVENT_ID = "event_id";
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 事件前金额
     */
    @ApiModelProperty(value = "事件前金额")
    private Integer oldPrice;

    /**
     * 事件后金额
     */
    @ApiModelProperty(value = "事件后金额")
    private Integer newPrice;

    /**
     * 事件金额
     */
    @ApiModelProperty(value = "事件金额")
    private Integer price;

    /**
     * 事件类型id
     */
    @ApiModelProperty(value = "事件类型id")
    private Integer eventId;

    private static final long serialVersionUID = 1L;
}